import {request} from "@/utils/request.js"

export function apiGetBanner(){
	return request({
		url:"/homeBanner",
	});
}

export function apiGetNotice(data = {}){
	return request({
		url:"/wallNewsList",
		data
	})
}

export function apiGetRandom(){
	return request({
		url:"/randomWall",
	})
}

// apiGetClassify
export function apiGetClassify(data = {}){
	return request({
		url:"/classify",
		data
	})
}

export function apiGetClass(data={}){
	return request({
		url:"/wallList",
		data
	})
}

export function apiGetSetupScore(data={}){
	return request({
		url:"/setupScore",
		data
	})
}

export function apiWriteDownload(data={}){
	return request({
		url:"/downloadWall",
		data
	})
}

export function apiDetailWall(data={}){
	return request({
		url:"/detailWall",
		data
	})
}

// /userInfo
export function apiUserInfo(data={}){
	return request({
		url:"/userInfo",
		data
	})
}

// userWallList
export function apiHistoryList(data={}){
	return request({
		url:"/userWallList",
		data
	})
}

// /wallNewsDetail
export function apiWallNewsDetail(data={}){
	return request({
		url:"/wallNewsDetail",
		data
	})
}

// /searchWall
export function apiSearchWall(data={}){
	return request({
		url:"/searchWall",
		data
	})
}